//
//  XDErrProblemHttpModel.h
//  XDEducation
//
//  Created by 星道 on 17/5/15.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
@class XDErrProblemFuXi,XDErrProblemKeWai,XDErrProblemQuanNeng,XDErrProblemKeQian,XDErrProblemKeTang,XDErrProblemZuoTi;

@interface XDErrProblemHttpModel : NSObject

/**
 该类用来处理错题集中营的网络参数，涉及的action及querytime这两点
 */

@property (nonatomic, copy) NSString *Name;
@property (nonatomic, copy) NSString *UrlFormat;
@property (nonatomic, copy) NSString *UrlTimeDetailFormat;
@property (nonatomic, copy) NSString *Querytime;
@property (nonatomic, copy) NSString *TimeAction;
@property (nonatomic, copy) NSString *TimeDetailAction;
@property (nonatomic, assign) NSInteger Index;
@property (nonatomic, assign) NSInteger LeftIndex;

+ (NSArray *)ErrProblemArr;

@end



//复习巩固
@interface XDErrProblemFuXi : XDErrProblemHttpModel
@property (nonatomic, assign) NSInteger TypeNumber;
@property (nonatomic, copy) NSString *uniqueKey;
@property (nonatomic, copy) NSString *knowledge_id;
@property (nonatomic, copy) NSString *knowledge_name;
@property (nonatomic, copy) NSString *error_count;
@property (nonatomic, copy) NSString *gradeid;
@property (nonatomic, copy) NSString *question_count;
- (instancetype)init;
- (void)SetDict:(NSDictionary *)Dict;
@end

//课外作业
@interface XDErrProblemKeWai : XDErrProblemHttpModel
@property (nonatomic, copy) NSString *QueryTimeAction;
@property (nonatomic, strong) NSNumber *subjectid;
@property (nonatomic, strong) NSNumber *question_count;
@property (nonatomic, strong) NSNumber *error_count;
@property (nonatomic, strong) NSNumber *hw_id;
@property (nonatomic, strong) NSString *homework_name;

- (instancetype)init;
- (void)SetDict:(NSDictionary *)Dict;
@end

//全能星战
@interface XDErrProblemQuanNeng : XDErrProblemHttpModel
@property (nonatomic, copy) NSString *QueryTimeAction;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSNumber *paperId;
@property (nonatomic, copy) NSNumber *errorNum;
@property (nonatomic, copy) NSString *uniqueKey;

- (instancetype)init;
- (void)SetDict:(NSDictionary *)Dict;
@end

//课前预习
@interface XDErrProblemKeQian : XDErrProblemHttpModel
@property (nonatomic, copy) NSString *QueryTimeAction;
@property (nonatomic, assign) NSInteger Type;
@property (nonatomic, copy) NSNumber *subjectid;
@property (nonatomic, copy) NSNumber *xhr_uid;
@property (nonatomic, copy) NSNumber *question_count;
@property (nonatomic, copy) NSNumber *error_count;
@property (nonatomic, copy) NSNumber *hw_id;
@property (nonatomic, copy) NSString *homework_name;

- (instancetype)init;
- (void)SetDict:(NSDictionary *)Dict;

@end

//课堂小测
@interface XDErrProblemKeTang : XDErrProblemHttpModel
@property (nonatomic, copy) NSString *QueryTimeAction;
@property (nonatomic, assign) NSInteger Type;
@property (nonatomic, copy) NSNumber *subjectid;
@property (nonatomic, copy) NSNumber *xhr_uid;
@property (nonatomic, copy) NSNumber *question_count;
@property (nonatomic, copy) NSNumber *error_count;
@property (nonatomic, copy) NSNumber *hw_id;
@property (nonatomic, copy) NSString *homework_name;
- (instancetype)init;
- (void)SetDict:(NSDictionary *)Dict;

@end

//做题记录
@interface XDErrProblemZuoTi : XDErrProblemHttpModel
@property (nonatomic, copy) NSString *QueryTimeAction;

- (instancetype)init;
@end
